package com.bishe.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bishe.model.LoginModel;
import com.bishe.pojo.FileInfo;
import com.bishe.pojo.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bishe.query.FileQuery;
import com.bishe.query.TeacherQuery;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lwx
 * @since 2022-04-14
 */
public interface TeacherService extends IService<Teacher> {

    LoginModel login(LoginModel loginModel);

    IPage<Teacher> toPage(TeacherQuery query);

    void addOrUpdate(Teacher teacher);

    IPage<FileInfo> myFiles(FileQuery query);
}
